package ar.uade.edu.fain.ad.client.web.servlet.caja;

import javax.servlet.ServletException;

import ar.uade.edu.fain.ad.client.delegate.CajaServiceDelegate;
import ar.uade.edu.fain.ad.client.web.servlet.BaseServlet;

public class CajaServlet extends BaseServlet {

	private static final long serialVersionUID = 1L;
	
	private CajaServiceDelegate cajaDelegate;

	public CajaServlet() {
		super();
	}
	
	@Override
	public void init() throws ServletException {
		super.init();
		this.cajaDelegate = getDelegateFactory().createCajaDelegate();
	}
	
	protected CajaServiceDelegate getCajaDelegate() {
		return cajaDelegate;
	}
	
	protected String getViewBasePath() {
		return "/pages/caja/";
	}
	
}
